package com.ruoyi.pms.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 采购申请对象 pms_request_details
 * 
 * @author ruoyi
 * @date 2021-11-04
 */
public class PmsRequestDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private String stockInQty;
    /** 主键 */
    private String requestDetailUuid;

    /** 采购申请表ID */
    @Excel(name = "采购申请表ID")
    private String fkRequestUuid;

    /** 排序序号 */
    @Excel(name = "排序序号")
    private String orderNum;

    /** 物料表ID */
    @Excel(name = "物料表ID")
    private String fkItemUuid;

    /** 计量单位（字典表） */
    @Excel(name = "计量单位", readConverterExp = "字=典表")
    private String wmsDictMeasuringUnit;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal requestQty;

    /** 紧急程度（字典表） */
    @Excel(name = "紧急程度", readConverterExp = "字=典表")
    private String crmDictUrgencyLevel;

    /** 备注 */
    @Excel(name = "备注")
    private String note;


    @Excel(name = "物料名称")
    private String itemName;

    @Excel(name = "物料编码")
    private String itemNum;

    public String getStockInQty() {
        return stockInQty;
    }

    public void setStockInQty(String stockInQty) {
        this.stockInQty = stockInQty;
    }

    @Override
    public String getItemName() {
        return itemName;
    }

    @Override
    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    @Override
    public String getItemNum() {
        return itemNum;
    }

    @Override
    public void setItemNum(String itemNum) {
        this.itemNum = itemNum;
    }

    public void setRequestDetailUuid(String requestDetailUuid)
    {
        this.requestDetailUuid = requestDetailUuid;
    }

    public String getRequestDetailUuid() 
    {
        return requestDetailUuid;
    }
    public void setFkRequestUuid(String fkRequestUuid) 
    {
        this.fkRequestUuid = fkRequestUuid;
    }

    public String getFkRequestUuid() 
    {
        return fkRequestUuid;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setFkItemUuid(String fkItemUuid) 
    {
        this.fkItemUuid = fkItemUuid;
    }

    public String getFkItemUuid() 
    {
        return fkItemUuid;
    }
    public void setWmsDictMeasuringUnit(String wmsDictMeasuringUnit) 
    {
        this.wmsDictMeasuringUnit = wmsDictMeasuringUnit;
    }

    public String getWmsDictMeasuringUnit() 
    {
        return wmsDictMeasuringUnit;
    }
    public void setRequestQty(BigDecimal requestQty) 
    {
        this.requestQty = requestQty;
    }

    public BigDecimal getRequestQty() 
    {
        return requestQty;
    }
    public void setCrmDictUrgencyLevel(String crmDictUrgencyLevel) 
    {
        this.crmDictUrgencyLevel = crmDictUrgencyLevel;
    }

    public String getCrmDictUrgencyLevel() 
    {
        return crmDictUrgencyLevel;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("requestDetailUuid", getRequestDetailUuid())
            .append("fkRequestUuid", getFkRequestUuid())
            .append("orderNum", getOrderNum())
            .append("fkItemUuid", getFkItemUuid())
            .append("wmsDictMeasuringUnit", getWmsDictMeasuringUnit())
            .append("requestQty", getRequestQty())
            .append("crmDictUrgencyLevel", getCrmDictUrgencyLevel())
            .append("note", getNote())
            .toString();
    }
}
